package com.bsoft.gol.hbs.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import hcn.base.MsgTemplateLevel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * @Author:FangZhiYi
 * @Description 消息级别管理 Dao层
 * @Data Created in 2022/10/25 17:56
 * @Moddified By:
 */
public abstract class MsgTemplateLevelDao extends HibernateSupportDelegateDAO<MsgTemplateLevel> {
    private static final Logger logger = LoggerFactory.getLogger(MsgTemplateLevelDao.class);

    @DAOMethod(sql = "from MsgTemplateLevel where templateId=:templateId")
    public abstract MsgTemplateLevel getMsgLevelByTemplateId(@DAOParam("templateId")String templateId);
}
